﻿using CL.Business.Entity;
using CL.Dapper.Repository;
using CL.Enum.Common;
using System.Data;

namespace CL.Business.DAL
{
    public class UserToAgentMembershipDAL : DataRepositoryBase<UserToAgentMembershipEntity>
    {
        public UserToAgentMembershipDAL(DbConnectionEnum conenum, IDbConnection Db = null) : base(conenum, Db)
        {
        }

        public int QueryEntity(UserToAgentMembershipEntity MenEntity)
        {
            return base.Insert(MenEntity) ?? 0;
        }
    }
}
